package dao.sqlmap;

import java.sql.SQLException;

import model.Address;

import com.ibatis.dao.client.DaoManager;
import com.ibatis.dao.client.template.SqlMapDaoTemplate;

import dao.AddressDAO;
import dao.DAOHelper;
import dao.NewDAO;

public class NewSQLMapDao extends SqlMapDaoTemplate implements NewDAO{
	private static final String INSERT_ADDRESS = "insertAddress";


	public NewSQLMapDao(DaoManager dm) {
		super(dm);
	}
	
	@Override
	public void insertAddress(Address add) throws SQLException {
	      insert(INSERT_ADDRESS, add);
	}

	
}
